package com.example.dong.clients.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 通用返回结果
 * @author dzh
 * @date 2022/12/10 13:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private int code;
    private String msg;
    private T data;

    public static Result FALLBACK = new Result<>(500, "fallback", null);
}
